﻿app.preferences.rulerUnits = Units.PIXELS;